# coding=utf-8
from django.conf.urls import url
from django.contrib import admin

from easy_blog import views

urlpatterns = (
    # Examples:
    # url(r'^$', 'new_blog.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),
    url(r'^admin/', admin.site.urls),
    url(r'^$', views.index),
    url(r'^index/$', views.index),
    url(r'^plan/$', views.plan),
    url(r'^plan/(?P<id>\d+)/$', views.plan_show, name='detaplan'),
    url(r'^service/$', views.blog),
    url(r'^email/$', views.email),
    url(r'^photo/', views.photoprint),
    # url('^markdown/', include( 'django_markdown2.urls')),
    url(r'^service/(?P<id>\d+)/$', views.blog_show, name='detailblog'),
    url(r'^service/tag/(?P<tag>\w+)/$', views.blog_tag_show, name='list_tag')
)
